<?php
class DashboardController extends AppController{
    var $name='Dashboard';
    
    var $uses='User';
    
   
    function beforeFilter() {
        parent::beforeFilter();
        //echo $this->Session->setFlash("Welcome user");
        //$this->Auth->allow('admin_login');
        $this->Auth->loginRedirect = array('controller' => 'Users', 'action' => 'index');
    }
    function   admin_index(){
      
   }
   function login(){
       
   }
   function logout() {
       
   }
}

?>